Các tham số Bản_mẫu:Navbox_subgroup

Bản mẫu này sử dụng tất cả các tham số của {{Navbox}}. Xin vui lòng xem tài liệu ở đó để mô tả đầy đủ hơn. Trong thực tế, sự khác biệt duy nhất giữa mẫu này và {{Navbox}} như sau:

  • Tham số viền mặc định là "child"
  • Việc đệm nhóm mặc định thành 0,75em ở bên trái/phải và chỉ có thể được thay đổi với tham số grouppadding. Điều này được thực hiện để ngăn lỗi mô hình hộp Internet Explorer ảnh hưởng đến độ rộng của các nhóm.

Mọi thứ khác là chính xác giống như {{Navbox}}.

Chỉ các thông số phổ biến nhất được liệt kê dưới đây.

Ô

listn(i.e. list1, list2, ... list20) The body of the template, usually a list of links. Format is inline. At least one list parameter is required; each additional list is displayed in a separate row of the table. Each listn may be preceded by a corresponding groupn parameter, if provided (see below).groupn(i.e. group1, group2, ..., group20) If specified, text appears in a header cell displayed to the left of listn. If omitted, listn uses the full width of the table. The background color defaults to #e6e6ff, but can be changed via the groupstyle parameter (see below).

Kiểu dáng

bodystyleSpecifies CSS styles to apply to the template body. Examples:background:#nnnnnn;text-align:[right/center/left/justified];groupstyleCSS styles to apply to the groupn cells. This option overrides any styles that are applied to the entire table. Examples:background:#nnnnnn;text-align:[left/center/right];vertical-align:[top/middle/bottom];white-space:nowrap;grouppaddingCSS style to specify group padding. Should usually be specified using em units. It is recommended to leave this parameter alone and use the default padding. Examples:grouppadding = 0em 1em; (1em on left/right, 0em on top/bottom)grouppadding = 0em 0.5em 0em 1em; (0em top, 0.5em right, 0em bottom, 1em left)liststyleCSS styles to apply to all lists. Overridden by the oddstyle and evenstyle parameters (if specified) below.oddstyleevenstyleCSS styles to apply to the odd-numbered list items (list1, list3, etc) or even-numbered list items (list2, list4, etc), respectively. Typically used to set background color (background:#nnnnnn;) in order to achieve an alternating background color between odd and even-numbered lists.evenodd [swap, even, odd, off]If set to swap, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to even or odd sets all rows to have that striping color. Setting to off disables automatic row striping. NOTE: Due to system limitations, do not use a semi-colon to close this command.